﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="demoTab.aspx.cs" Inherits="CSS_Tab_demoTab" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Register TagPrefix="local" TagName="TabItem01" Src="TabItem01.ascx" %>
<%@ Register TagPrefix="local" TagName="TabItem02" Src="TabItem02.ascx" %>
<%@ Register TagPrefix="local" TagName="TabItem03" Src="TabItem03.ascx" %>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <!-- Sam Skin CSS for TabView -->
    <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/tabview/assets/skins/sam/tabview.css">
     
    <!-- JavaScript Dependencies for Tabview: -->
    <script src="http://yui.yahooapis.com/2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"></script>
     
    <!-- OPTIONAL: Connection (required for dynamic loading of data) -->
    <script src="http://yui.yahooapis.com/2.9.0/build/connection/connection-min.js"></script>
     
    <!-- Source file for TabView -->
    <script src="http://yui.yahooapis.com/2.9.0/build/tabview/tabview-min.js"></script>
    
</head>
<body class="yui-skin-sam">
    <form id="form1" runat="server">
    
    
    <div id="demo" class="yui-navset">
        <ul class="yui-nav">
            <li class="selected"><a href="#tab1"><em>Tab One Label</em></a></li>
            <li><a href="#tab2"><em>Tab Two Label</em></a></li>
            <li><a href="#tab3"><em>Tab Three Label</em></a></li>
        </ul>            
        <div class="yui-content">
            <div>
              <local:TabItem01 ID="TabItem1" runat="Server"/>
            </div>
            
            <div>
              <local:TabItem02 ID="TabItem2" runat="Server"/>
            </div>
            
            <div>
              <local:TabItem03 ID="TabItem3" runat="Server"/>
            </div>
        </div>
    </div>
    <script type="text/javascript">
      var myTabs = new YAHOO.widget.TabView("demo");
      //myTabs.appendTo(document.body);    
    </script>
    </form>
</body>
</html>
